package com.hdax.until;

import com.hdax.vo.CommonResponse;

public class ResponseUntil<T> {
    public static<T> CommonResponse<T> returnSuccess(T data,Long count){
        return new CommonResponse<T>(data, count);
    }
    public static<T> CommonResponse<T> returnSuccess(T data){
        return new CommonResponse<T>(data);
    }
    public static<T> CommonResponse<T> returnFailed(Integer code,String msg){
        return new CommonResponse<T>(code, msg);
    }
}
